sysroot_target_linux_src_dir=$sysroot/src/linux-$target_linux_version
url=https://www.kernel.org/pub/linux/kernel/v3.x/linux-$target_linux_version.tar.xz

mkdir -p "$sysroot/src"

tar Jxf "$src_dir_root/linux-$target_linux_version.tar.xz" -C "$sysroot/src"
#only files and dirs, no links.
find $sysroot_target_linux_src_dir -type d | xargs chown 0:0
find $sysroot_target_linux_src_dir -type f | xargs chown 0:0

ln -fs "linux-$target_linux_version" "$sysroot/src/linux"
